package com.lxmes.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 质量手册管理对象 nc_quality_manual_management
 *
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcQualityManualManagement", description = "质量手册管理对象")
public class NcQualityManualManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 手册编号 */
    @Excel(name = "手册编号")
    @ApiModelProperty("手册编号")
    private String manualNumber;

    /** 手册名称 */
    @Excel(name = "手册名称")
    @ApiModelProperty("手册名称")
    private String manualName;

    /** 内容概述 */
    @ApiModelProperty("内容概述")
    private String contentSummary;

    /** 编制要求 */
    @Excel(name = "编制要求")
    @ApiModelProperty("编制要求")
    private String compilationRequirements;

    /** 建立目的 */
    @Excel(name = "建立目的")
    @ApiModelProperty("建立目的")
    private String establishmentPurpose;

    /** 文件编号 */
    @Excel(name = "文件编号")
    @ApiModelProperty("文件编号")
    private String documentNumber;

    /** 版本控制 */
    @Excel(name = "版本控制")
    @ApiModelProperty("版本控制")
    private String versionControl;

    /** 发布范围 */
    @Excel(name = "发布范围")
    @ApiModelProperty("发布范围")
    private String releaseScope;

    /** 质量理念 */
    @Excel(name = "质量理念")
    @ApiModelProperty("质量理念")
    private String qualityConcept;

    /** 体系文件 */
    @Excel(name = "体系文件")
    @ApiModelProperty("体系文件")
    private String systemDocuments;

    /** 实施记录 */
    @Excel(name = "实施记录")
    @ApiModelProperty("实施记录")
    private String implementationRecords;

    /** 实施效果 */
    @Excel(name = "实施效果")
    @ApiModelProperty("实施效果")
    private String implementationEffect;

    /** 整改措施 */
    @Excel(name = "整改措施")
    @ApiModelProperty("整改措施")
    private String correctiveMeasures;

    /** 审核人 */
    @Excel(name = "审核人")
    @ApiModelProperty("审核人")
    private String reviewer;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("审核时间")
    private Date reviewTime;

    /** 签发人 */
    @Excel(name = "签发人")
    @ApiModelProperty("签发人")
    private String issuer;

    /** 签发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签发时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("签发时间")
    private Date issuanceTime;

    /** 批准人 */
    @Excel(name = "批准人")
    @ApiModelProperty("批准人")
    private String approver;

    /** 批准时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "批准时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("批准时间")
    private Date approvalTime;


    private String documentSource;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setManualNumber(String manualNumber)
    {
        this.manualNumber = manualNumber;
    }

    public String getManualNumber()
    {
        return manualNumber;
    }
    public void setManualName(String manualName)
    {
        this.manualName = manualName;
    }

    public String getManualName()
    {
        return manualName;
    }
    public void setContentSummary(String contentSummary)
    {
        this.contentSummary = contentSummary;
    }

    public String getContentSummary()
    {
        return contentSummary;
    }
    public void setCompilationRequirements(String compilationRequirements)
    {
        this.compilationRequirements = compilationRequirements;
    }

    public String getCompilationRequirements()
    {
        return compilationRequirements;
    }
    public void setEstablishmentPurpose(String establishmentPurpose)
    {
        this.establishmentPurpose = establishmentPurpose;
    }

    public String getEstablishmentPurpose()
    {
        return establishmentPurpose;
    }
    public void setDocumentNumber(String documentNumber)
    {
        this.documentNumber = documentNumber;
    }

    public String getDocumentNumber()
    {
        return documentNumber;
    }
    public void setVersionControl(String versionControl)
    {
        this.versionControl = versionControl;
    }

    public String getVersionControl()
    {
        return versionControl;
    }
    public void setReleaseScope(String releaseScope)
    {
        this.releaseScope = releaseScope;
    }

    public String getReleaseScope()
    {
        return releaseScope;
    }
    public void setQualityConcept(String qualityConcept)
    {
        this.qualityConcept = qualityConcept;
    }

    public String getQualityConcept()
    {
        return qualityConcept;
    }
    public void setSystemDocuments(String systemDocuments)
    {
        this.systemDocuments = systemDocuments;
    }

    public String getSystemDocuments()
    {
        return systemDocuments;
    }
    public void setImplementationRecords(String implementationRecords)
    {
        this.implementationRecords = implementationRecords;
    }

    public String getImplementationRecords()
    {
        return implementationRecords;
    }
    public void setImplementationEffect(String implementationEffect)
    {
        this.implementationEffect = implementationEffect;
    }

    public String getImplementationEffect()
    {
        return implementationEffect;
    }
    public void setCorrectiveMeasures(String correctiveMeasures)
    {
        this.correctiveMeasures = correctiveMeasures;
    }

    public String getCorrectiveMeasures()
    {
        return correctiveMeasures;
    }
    public void setReviewer(String reviewer)
    {
        this.reviewer = reviewer;
    }

    public String getReviewer()
    {
        return reviewer;
    }
    public void setReviewTime(Date reviewTime)
    {
        this.reviewTime = reviewTime;
    }

    public Date getReviewTime()
    {
        return reviewTime;
    }
    public void setIssuer(String issuer)
    {
        this.issuer = issuer;
    }

    public String getIssuer()
    {
        return issuer;
    }
    public void setIssuanceTime(Date issuanceTime)
    {
        this.issuanceTime = issuanceTime;
    }

    public Date getIssuanceTime()
    {
        return issuanceTime;
    }
    public void setApprover(String approver)
    {
        this.approver = approver;
    }

    public String getApprover()
    {
        return approver;
    }
    public void setApprovalTime(Date approvalTime)
    {
        this.approvalTime = approvalTime;
    }

    public Date getApprovalTime()
    {
        return approvalTime;
    }

    public String getDocumentSource() {
        return documentSource;
    }

    public void setDocumentSource(String documentSource) {
        this.documentSource = documentSource;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("manualNumber", getManualNumber())
            .append("manualName", getManualName())
            .append("contentSummary", getContentSummary())
            .append("compilationRequirements", getCompilationRequirements())
            .append("establishmentPurpose", getEstablishmentPurpose())
            .append("documentNumber", getDocumentNumber())
            .append("versionControl", getVersionControl())
            .append("releaseScope", getReleaseScope())
            .append("qualityConcept", getQualityConcept())
            .append("systemDocuments", getSystemDocuments())
            .append("implementationRecords", getImplementationRecords())
            .append("implementationEffect", getImplementationEffect())
            .append("correctiveMeasures", getCorrectiveMeasures())
            .append("reviewer", getReviewer())
            .append("reviewTime", getReviewTime())
            .append("issuer", getIssuer())
            .append("issuanceTime", getIssuanceTime())
            .append("approver", getApprover())
            .append("approvalTime", getApprovalTime())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
